package com.caishi.lkx.exam.ienum.status;

import com.baomidou.mybatisplus.annotation.EnumValue;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;

@Schema(title = "是否审核， 0.未审 1.审核通过 2审核不通过 3自动通过")
public enum NoteVerifyStatus {
    unrevised(0, "未审核"),
    success(1,"审核通过"),
    error(2,"审核不通过"),
    pass(3,"自动通过");

    @EnumValue
    @Getter
    final
    Integer code;
    @Getter
    final
    String desc;

    NoteVerifyStatus(Integer code, String desc) {
        this.code=code;
        this.desc=desc;
    }
}
